package com.aishua.fire.entity.common;

import java.util.List;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;


@ApiModel(value="通用分页列表查询对象",description="通用分页列表查询对象")
@Data
public class CommonListVo<T> {
	
	@ApiModelProperty(value="总页码数",name="total",required=true)
	private int total;
	
	@ApiModelProperty(value="当前页码数",name="page",required=true)
	private int page;
	
	@ApiModelProperty(value="查询条件下的总记录数",name="records",required=true)
	private int records;

	@ApiModelProperty(value="分页列表数据集合",name="rows",required=true)
	private List<T> rows;

}
